package com.jrauto.CarAppBackend.entity.vo;

/**
 * @author : huiMing
 * Date : 2025年07月28日 14:13
 * @version V1.0
 */
public class LoginVO {
    private String token;
    private UserPublicVO user; // 返回用户公开信息

    public LoginVO() {
    }

    public LoginVO(String token, UserPublicVO user) {
        this.token = token;
        this.user = user;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public UserPublicVO getUser() {
        return user;
    }

    public void setUser(UserPublicVO user) {
        this.user = user;
    }


    @Override
    public String toString() {
        return "LoginVO{" +
                "token='" + token + '\'' +
                ", user=" + user +
                '}';
    }
}
